package com.qf.test;

import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 10537
 * @version V1.0
 * @Date 2021/9/27 15:33
 */

public class Demo9 {
    @Test
    public void inThe(){
        ClassPathXmlApplicationContext ac=new ClassPathXmlApplicationContext("classpath:applicationContext.xml");
        Object peopleController = ac.getBean("peopleController");
        Object peopleServiceImpl = ac.getBean("peopleServiceImpl");
        Object peopleDaoImpl = ac.getBean("perpsonDaoImpl");
        System.out.println(1);
    }

}
